# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>

pkgname=betterdiscordctl
pkgver=1.6.1
pkgrel=1
pkgdesc='Utility for managing BetterDiscord on Linux'
arch=('loong64' 'x86_64')
url='https://github.com/bb010g/betterdiscordctl'
license=('MIT')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('b5a66e1e5c27b085548630adfd6ee90319baa687581718955ab7633295ce6bd3da23141b1a6a4ed46a892126259ee24bb65621972ca93b5a9ae46e0a5223f767')

package() {
  cd $pkgname-$pkgver

  install -Dm 755 $pkgname "$pkgdir"/usr/bin/$pkgname

  # License
  install -Dm 644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

